package com.tiantian.web.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.tiantian.domain.Banklist;
import com.tiantian.service.BanklistService;

@Controller
@RequestMapping("/banklist")
public class BanklistController {
	@Autowired
	private BanklistService banklistService;

	@RequestMapping("/save")
	public void save() {
		Banklist v = new Banklist();
		v.setBankName("中国人名银行");
		v.setBankId("tr");
		v.setUpperlevelBankId("123");
		banklistService.save(v);
	}

}
